package com.gdiss.www.service.impl;

import com.gdiss.www.entity.CmsCategory;
import com.gdiss.www.mapper.CmsCategoryMapper;
import com.gdiss.www.service.CmsCategoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  分类服务实现类
 * </p>
 *
 * @author yly
 * @since 2021-11-30
 */
@Service
public class CmsCategoryServiceImpl implements CmsCategoryService {

    @Autowired
    CmsCategoryMapper categoryMapper;

    @Override
    public CmsCategory queryCategoryById(int id) {
        return categoryMapper.selectById(id);
    }
}
